<%@ page title="" language="C#" masterpagefile="~/MasterPage.master" autoeventwireup="true" inherits="Product_Default, App_Web_pp-xqmhj" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Content" runat="Server">
    <asp:Button ID="btnCreatePrd" runat="server" Text="Crete Product" />
    <ajaxToolkit:ModalPopupExtender TargetControlID="btnCreatePrd" BackgroundCssClass="modalBackground"
        OkControlID="btnSubmit" DropShadow="true" CancelControlID="btnCancel" PopupControlID="pnlCreatePrd"
        runat="server" ID="CreateProductPopUp">
    </ajaxToolkit:ModalPopupExtender>
    <asp:Panel ID="pnlCreatePrd" runat="server" Style="display: none;" CssClass="modalPopup">
        <asp:Table ID="tblCreatePrd" runat="server">
            <asp:TableRow>
                <asp:TableCell>Product Name</asp:TableCell>
                <asp:TableCell>
                    <asp:TextBox ID="txtProductName" runat="server" /></asp:TableCell></asp:TableRow>
            <asp:TableRow>
                <asp:TableCell>Product Description</asp:TableCell><asp:TableCell>
                    <asp:TextBox ID="txtProductDesc" runat="server" /></asp:TableCell></asp:TableRow>
            <asp:TableRow>
                <asp:TableCell>
                    <asp:Button ID="btnSubmit" Text="Create" runat="server" OnClick="btnSubmit_Click" /></asp:TableCell>
                <asp:TableCell>
                    <asp:Button ID="btnCancel" Text="Cancel" runat="server" /></asp:TableCell>
            </asp:TableRow>
        </asp:Table>
    </asp:Panel>
    <asp:Button ID="btnUpdatePrd" runat="server" Text="Update Product" /><ajaxToolkit:ModalPopupExtender
        ID="UpdateProductPopUp" runat="server" PopupControlID="pnlUpdatePrd" TargetControlID="btnUpdatePrd"
        BackgroundCssClass="modalBackground" CancelControlID="btnCancelUpdate" OkControlID="btnUpdate"
        DropShadow="true">
    </ajaxToolkit:ModalPopupExtender>
    <asp:Panel ID="pnlUpdatePrd" runat="server" Style="display: none;" CssClass="modalPopup">
        <asp:Table ID="Table1" runat="server">
            <asp:TableRow>
                <asp:TableCell>Product Name</asp:TableCell><asp:TableCell>
                    <asp:TextBox ID="txtUPrdName" runat="server" /></asp:TableCell></asp:TableRow>
            <asp:TableRow>
                <asp:TableCell>Product Description</asp:TableCell><asp:TableCell>
                    <asp:TextBox ID="txtUPrdDescription" runat="server" /></asp:TableCell></asp:TableRow>
            <asp:TableRow>
                <asp:TableCell>
                    <asp:Button ID="btnUpdate" Text="Update" runat="server" OnClick="btnUpdate_Click" /></asp:TableCell>
                <asp:TableCell>
                    <asp:Button ID="btnCancelUpdate" Text="Cancel" runat="server" /></asp:TableCell>
            </asp:TableRow>
        </asp:Table>
    </asp:Panel>
    
    
    
    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="RightContent" runat="Server">
</asp:Content>
